﻿using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Telerik.JustMock;
using DelonixRegiaHMSys.Core.Services;
using DelonixRegiaHMSys.Core.Interfaces;
using DelonixRegiaHMSys.Core.Models;

namespace DelonixRegiaHMSys.UnitTest.RoomReservationManagement
{
    [TestClass]
    public class UpdateRoomReservationRecord
    {
        [TestMethod]
        public void UpdateRoomReservation()
        {
            var mockRoomReservationQuery = Mock.Create<IRoomReservationQuery>();

            var rrservice = new rrServices(mockRoomReservationQuery);

            RoomReservation mockRR = new RoomReservation();

            rrservice.UpdateRoomReservation(mockRR);

            Mock.Assert(() => mockRoomReservationQuery.UpdateRoomReservation(Arg.IsAny<RoomReservation>()))
;
        }
    }
}
